<?php
namespace app\index\Validate;
use think\Validate;

class Seek extends Validate{

    //验证规则
    protected $rule = [
        'sk_uid'       =>'number',
        'sk_title'     =>'require',
        'sk_hope_money'=>'require|number',
    ];

    protected $message  =  [
        'sk_uid.number'     => '发布用户id类型错误',
        'sk_title.require'  => '标题必填',
        'sk_hope_money.number'  => '期望价格格式错误',
        'sk_hope_money.require' => '期望价格必填',
    ];


}